html, body {
    font-family: arial, sans-serif;
    font-size: 1em;
    margin: 0 auto;
}
#bodyContent {
    max-width: 1000px;
    margin: 0 auto;
}

div.row {
    page-break-inside: avoid;
    page-break-after:auto;
    margin: 0 -1px -1px 0;
    height: 2in;
    width: 2in;
    border: 1px solid gray;
    text-align: center;
    position: relative;
    float: left;
    font-family: sans-serif;
    font-size: 0.8em;
}
a.photo {
  text-decoration: none;
}
p.breakhere {
    page-break-before: always;
    margin-bottom: 0;
    margin-top: 0;
}
.top-left {
    position: absolute;
    top: 1.5mm;
    left: 1.5mm;
    text-align: left;
}
.top-right {
    position: absolute;
    top: 1.5mm;
    right: 1.5mm;
}
.bottom-left {
    position: absolute;
    bottom: 1.5mm;
    left: 1.5mm;
    text-align: left;
}
.bottom-right {
    position: absolute;
    bottom: 1.5mm;
    right: 1.5mm;
}
.photoW {
  width: 100px;
  padding: 0;
  vertical-align: middle;
}
.photoH {
  height: 100px;
  padding: 0;
  vertical-align: middle;
}
.helper {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.title {
  padding: 15px 0;
  text-align: center;
}
.footer {
    clear: both;
    padding: 15px 0;
    text-align: center;
}
